package com.sky.service;

import com.sky.dto.*;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

import java.util.List;

public interface OrderService {
    OrderSubmitVO submitOrder(OrdersSubmitDTO ordersSubmitDTO);

    PageResult historyOrders(OrdersPageQueryDTO ordersPageQueryDTO);

    Integer moreOrder(Long id);

    OrderVO orderDetail(Long id);

    Integer cancelOrder(Long id,Integer status);

    Integer upderOrder(OrdersCancelDTO ordersCancelDTO);

    PageResult conditionSearch(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderStatisticsVO statistics();

    Integer confirm(OrdersConfirmDTO ordersConfirmDTO);

    Integer rejection(OrdersRejectionDTO rdersRejectionDTO);

    Integer cancelOrderDelivery(Long id);

    Integer completeOrder(Long id);

    void paySuccess(String outTradeNo);

    void reminder(Long id);



    // OrderVO details(Long id);

}
